Cocktail Help Reference
TotalDataSourceItemCount Property
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > IPager<T> Interface : TotalDataSourceItemCount Property



Glossary Item Box

Returns the number of records available to be returned from the back-end data source.

Syntax

Visual Basic (Declaration) 
ReadOnly Property TotalDataSourceItemCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As IPager(Of T)
Dim value As Integer
 
value = instance.TotalDataSourceItemCount
C# 
int TotalDataSourceItemCount {get;}
C++/CLI 
property int TotalDataSourceItemCount {
   int get();
}

Remarks

This property will return -1 until the last page is fetched via a call to LastPageAsync() /> .

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.